const Http = require("../utils/http")
class AticleHttp extends Http{
    static getBanner() {
        return this.request(":4000/api/banner")
    }
    static getAticle() {
        return this.request(":4000/api/article")
    }
    static getDetail() {
        return this.request(":4000/api/articleDetail?")
    }
    static getDetailD() {
        return this.request(":4000/api/articleDetail?id=${id}")
    }
}
module.exports = AticleHttp;